package org.pixelami.twisted.internet
{
	import org.pixelami.twisted.internet.base.Connector;
	
	public class Reactor
	{
		

		
		
		public function Reactor()
		{
		}
		
		public function connectTCP(host, port, factory, timeout=30, bindAddress=null)
		{
	        /*
	        """@see: twisted.internet.interfaces.IReactorTCP.connectTCP
	        """
	        */
	        var c = new Connector(host, port, factory, timeout, bindAddress, this);
	        c.connect();
	        return c;
	 	}

	}
}